package com.google.code.rgbgoesbetween.data;

import java.util.Calendar;
/**
 * Stores the various attributes of lost and found items
 * @author Avanyali
 *
 */
public class Item {
	
	private static int id_counter = 1;
	
	public static enum ItemStatus {
		LOST, FOUND
	}

	private String name;
	private String[] tags;
	private String location;
	private Calendar[] DateRange;
	private int id;
	private Profile reporter;
	private String description;
	private String reward;
	private ItemStatus status;
	
	/**
	 * Initializes an item with a unique ID
	 */
	public Item() {
		id = id_counter++;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String[] getTags() {
		return tags;
	}
	public void setTags(String[] tags) {
		this.tags = tags;
	}
	public String getLocation() {
		return location;
	}
	public void setLocation(String location) {
		this.location = location;
	}
	public Calendar[] getDateRange() {
		return DateRange;
	}
	public void setDateRange(Calendar[] calendars) {
		DateRange = calendars;
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public Profile getReporter() {
		return reporter;
	}
	public void setReporter(Profile reporter) {
		this.reporter = reporter;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	public String getReward() {
		return reward;
	}
	public void setReward(String reward) {
		this.reward = reward;
	}
	public ItemStatus getStatus() {
		return status;
	}
	public void setStatus(ItemStatus status) {
		this.status = status;
	}
	
}
